import "package:flutter/material.dart";

// 圆形图片
class Circular extends StatelessWidget {
  const Circular({super.key});
  @override
  Widget build(BuildContext context) {
    return Container(
      margin: const EdgeInsets.fromLTRB(0, 20, 0, 0),
      width: 100,
      height: 100,
      decoration: BoxDecoration(
        color: const Color(0XFFF4F5FA),
        borderRadius: BorderRadius.circular(50),
        image: const DecorationImage(
            image: NetworkImage(
                'https://k.sinaimg.cn/n/sinakd20106/560/w1080h1080/20240302/e96c-eff16e358d67ed2cb20e949766756e56.jpg/w700d1q75cms.jpg'),
            fit: BoxFit.cover),
      ),
      // child: Image.network(
      //   'https://k.sinaimg.cn/n/sinakd20106/560/w1080h1080/20240302/e96c-eff16e358d67ed2cb20e949766756e56.jpg/w700d1q75cms.jpg',
      // )
    );
  }
}
